<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/6/16
 * Time: 15:12
 */

namespace Application\Base;


class ctlResource extends ctlBase
{
    public function funcIndex()
    {
        $file = $this->get("file", $this->typeString);
        if ($file) {
            list($lists, $ext) = mdlResource::fileList($file);
            mdlResource::setLastModifyTime($lists);
            $content = mdlResource::merging($lists, $ext);
            echo $content;
        }
    }
} 